using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace CTP.Entitys
{
    /// <summary>
    /// 交易账号
    /// </summary>
    public struct TradingAccount
    {
        /// <summary>
        /// 资金账号
        /// </summary>
        public string UserAccount;
        /// <summary>
        /// 资金账号密码
        /// </summary>
        public string Password;
        /// <summary>
        /// 资金账号类型
        /// </summary>
        public AccountType AccountType;
        /// <summary>
        /// 分支号/营业部代码
        /// </summary>
        public string BranchNO;
        /// <summary>
        /// 交易员
        /// </summary>
        public string Trader;
        /// <summary>
        /// 席位号
        /// </summary>
        public string SeatNO;
        /// <summary>
        /// 是否登录
        /// </summary>
        public bool IsLogined;
        /// <summary>
        /// 登陆认证码
        /// </summary>
        public string AuthCode;
        /// <summary>
        /// 产品信息
        /// </summary>
        public string ProductInfo;
    }
}
